using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 原料表
    /// </summary>
    [Table("MaterialsModel")]
    public class MaterialsModel : BaseEntity
    {
        /// <summary>
        /// 原料名称
        /// </summary>
        [Required]
        [StringLength(200)]
        public string MaterialsName { get; set; }

        /// <summary>
        /// 原料图片
        /// </summary>
        [StringLength(500)]
        public string MaterialsPic { get; set; }
    }
} 